package com.wd.cloud.applet.service;

import com.wd.cloud.applet.config.CustomListResultConfig;
import com.wd.cloud.applet.entity.bo.SysMenuInfoBO.SysMenuInfoListBO;
import com.wd.cloud.applet.entity.bo.SysMenuInfoBO.SysMenuInfoSaveBO;
import com.wd.cloud.applet.entity.commons.RequestPrimaryKeyModel;
import com.wd.cloud.applet.entity.vo.SysMenuInfoVO.SysMenuInfoByListVO;
import com.wd.cloud.applet.entity.vo.SysMenuInfoVO.SysMenuInfoKeyVO;
import com.wd.cloud.applet.entity.vo.SysMenuInfoVO.SysMenuInfoListVO;
import com.wd.cloud.applet.entity.vo.SysMenuInfoVO.SysMenuInfoPageListVO;
import com.wd.cloud.applet.entity.vo.SysMenuInfoVO.SysMenuRoleListVO;
import java.util.List;

/**
 * Description: [菜单表服务]
 * Created on 2023年04月21日
 * @author  <a href="mailto: 987707681@qq.com">hjx</a>
 * @version 1.0
 * Copyright (c) 2023年 代码生成器
 */
public interface ISysMenuInfoService {

    /**
    * 根据主键id删除
    *
    * @param params
    * @return
    */
int deleteByPrimaryKey(RequestPrimaryKeyModel params);

    /**
    * 新增数据
    *
    * @param params
    * @return
    */
int insertSelective(SysMenuInfoSaveBO params);
    /**
    * 新增或修改
    *
    * @param params
    * @return
    */
int save(SysMenuInfoSaveBO params);
    /**
    * 分页获取数据列表
    *
    * @param params
    * @return
    */
CustomListResultConfig<SysMenuInfoListVO> selectByPageList(SysMenuInfoListBO params);
    List<SysMenuInfoPageListVO> selectByList();
    List<SysMenuInfoByListVO> getMenuList();
    /**
    * 根据主键id获取实体
    *
    * @param params
    * @return
    */
    SysMenuInfoKeyVO selectByPrimaryKey(RequestPrimaryKeyModel params);
    SysMenuRoleListVO menuRoleList(RequestPrimaryKeyModel params);
}
